CyberMinds Logo

Course 6 - Sudo & Privilege Escalations

Sudo and Privilege Escalation

“sudo” (lowercase), is a Linux keyword stands for “superuser do.”
It helps users perform privilege escalation. Sometimes, Linux users are not able to perform certain commands due to the permissions that the system admin gives them, even though it may be necessary for them to do their job.

Privilege escalation is the process of gaining more permissions than before. This is what happens when sudo is used. It is unsafe to let any user run whatever they want at any time, so sudo is the solution to this, only granting temporary privileges. Not everyone is allowed to use sudo either. On Linux, there is a file called the “sudoer’s file,” listing all users that can use sudo.

Your Image

*Note: permanently granting yourself sudo privileges can lead to irreversible effects if mistakes are made. Always be careful when using or granting others sudo privileges.